﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp" %>
<%@ page import="com.chanyachting.emall.domain.Member" %>
<%@ page import="com.chanyachting.emall.util.RequestUtil" %>
<%@ page import="com.chanyachting.emall.service.MemberService" %>

<%

	//从session 中获得会员对象
	Member member=new Member();

	RequestUtil ru=new RequestUtil(request);
	
	if(ru.getSessionObject(MemberService.MEMBER_IN_SESSION)!=null){
		
		member=(Member)ru.getSessionObject(MemberService.MEMBER_IN_SESSION,new Member());
	}
	
	String pageUrl=root+"/memberBackend/main_right_company.jsp";
	
	if(!member.isCompanyMember()){
		
		pageUrl=root+"/memberBackend/main_right_person.jsp";
	}

%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<title>会员后台管理</title>
</head>

<frameset rows="90,*,25" cols="*" frameborder="no" border="0" framespacing="0">
  <frame src="<%=root%>/memberBackend/main_top.jsp" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" title="topFrame" />
  <frameset cols="235,*" frameborder="no" border="0" framespacing="0">
    <frame src="<%=root%>/memberBackend/main_left.jsp" name="leftFrame" scrolling="auto" noresize="noresize" id="leftFrame" title="leftFrame" />
    <frame src="<%=pageUrl %>" name="mainFrame" id="mainFrame" title="mainFrame" />
  </frameset>
  <frame src="<%=root%>/memberBackend/main_bottom.jsp" name="bottomFrame" scrolling="no" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>
